package ym.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import ym.pojo.Meal;

import java.util.List;

public interface MealService {
    void add(Meal meal);

    void update(Meal meal);

    void delete(Integer id);

    Meal findById(Integer id);

    List<Meal> findAll();

    Page<Meal> search(String search, int page, int size);
}
